package com.huoyun.invoice.dao;

import com.huoyun.base.dao.BaseDao;
import com.huoyun.invoice.bean.Invoice;

public interface InvoiceDao extends BaseDao<Invoice>{
	public void saveInvoice(Invoice invoice);
	public void updateInvoice(Invoice invoice);
	
	/**
	 * 根据发票id查询发票
	 * @param invoiceId
	 * @return
	 */
	public Invoice getInvoiceById(long invoiceId);
	
	/**
	 * 删除发票信息
	 * @param invoiceId
	 */
	public void delInvoice(long invoiceId);
}
